package d512a.TAKO.helpers;

import d512a.TAKO.R;

public class ColorHelper {
    public static int getColor(int rating) {
        int color;
        
        if (rating <=35) {
            color = R.drawable.red_circle;
        } else if (rating > 75) {
            color = R.drawable.green_circle;
        } else {
            color = R.drawable.yellow_circle;
        }
        return color;
    }
}
